package org.ym.thread.application.command;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

/**
 * 线程池配置类
 * @author ym
 */
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Builder
@Getter
public class ThreadPoolUpdateCommand {
    /**
     * threadKey
     */
    private Long key;
    /**
     * 核心线程数
     */
    private Integer corePoolSize;
    /**
     * 最大线程数
     */
    private Integer maximumPoolSize;
    /**
     * 线程任务缓存队列长度
     */
    private Integer queueSize;
}
